DateTimeEditors for WinRT
Setting the C1DateSelector Selected Date

This topic will take you through setting the SelectedDate Property in XAML markup and in code.

In XAML

Add the following XAML markup to the <Xaml:C1DateSelector/> tag to set the SelectedDate property:

Markup
Copy Code
SelectedDate="1932, 01, 10"

 

In Code

Use the following code to set the SelectedDate property:

C#
Copy Code
c1dateselect1.SelectedDate = new DateTime(1932, 01, 10);

 

Visual Basic
Copy Code
c1dateselect1.SelectedDate = New DateTime(1932, 1, 10)
See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback